package cn.qidisoft.edu.hzjt.dao.xb;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import cn.qidisoft.edu.hzjt.model.xb.PartyIncorruptEn;
import cn.qidisoft.edu.hzjt.model.xb.PartyIncorruptRangerEn;

public interface PartyIncorruptMapper {

	List<PartyIncorruptEn> queryList(PartyIncorruptEn model);

	List<PartyIncorruptEn> queryPageList(PartyIncorruptEn model, RowBounds rowBounds);

	int queryPageListcount(PartyIncorruptEn model);

	PartyIncorruptEn queryByPK(PartyIncorruptEn model);

	int insert(PartyIncorruptEn model);

	void update(PartyIncorruptEn model);

	void delete(PartyIncorruptEn model);

	List<Map<String, Object>>  queryAllYearList();



	List<PartyIncorruptEn> queryPageList2(PartyIncorruptEn model, RowBounds rowBounds);

	int queryPageListcount2(PartyIncorruptEn model);
	
	
	
	List<PartyIncorruptRangerEn> plist(@Param("parentId") Integer parentId);
	
	void batchInserts(List<PartyIncorruptRangerEn> records);
	
	void deleteByParentId(int parentId);

}
